package com.wizinno.android.urineflow.fragment;

import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

/**
 * @author LiuMei
 * @date 2020-12-23.
 */
public abstract class BaseFragment extends Fragment {

    //fragment编号
    private int no;

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        initData();
    }

    protected abstract void initData();

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }
}
